<template>
    <div class="x-header">
        <x-header style="background-color:#000;">
            <slot></slot>
            <img @click="back" slot="overwrite-left" src="../../static/img/fanhui@2x.png" />
        </x-header>
    </div>
</template>
<script>
import { XHeader } from 'vux'
export default {
  components: {
    XHeader
  },
  methods: {
    back () {
      this.$router.go(-1)
    }
  }
}
</script>

